import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import {EntinfosComponent} from "./entinfos.component";
import {EntinfoUpdateComponent} from "./entinfo-update/entinfo-update.component";
import {EntinfoAddComponent} from "./entinfo-add/entinfo-add.component";

const routes: Routes = [
  {
    path: "",
    component: EntinfosComponent
  },
  {
    path: "add",
    component: EntinfoAddComponent
  },
  {
    path: "update",
    component: EntinfoUpdateComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class EntinfosRoutingModule { }
